package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.JobTitle;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.jobtitle.JobTitleAddReqDTO;
import com.yixin.hospital.entity.dto.req.jobtitle.JobTitleEditReqDTO;

import javax.validation.Valid;

/**
* @author wb-caifenghua
* @description 针对表【job_title(职称表)】的数据库操作Service
* @createDate 2024-03-22 14:34:53
*/
public interface JobTitleService extends IService<JobTitle> {

    ApiResult allList();

    ApiResult treeList();

    ApiResult jobJobTitle(Long jobId);

    ApiResult add(JobTitleAddReqDTO jobTitleAddReqDTO, String userName);

    ApiResult edit(JobTitleEditReqDTO jobTitleEditReqDTO, String userName);
}
